package com.jun.admin.core.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @author yuejun.li
* @since 2024-08-02
*/
@Data
@Accessors(chain = true)
@Table(name = "executor_task_info")
@ApiModel(value = "ExecutorTaskInfo对象", description = "")
public class ExecutorTaskInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @Id
    private Long id;

    @ApiModelProperty("任务名称")
    @Column(name = "task_name")
    private String taskName;

    @ApiModelProperty("创建时间")
    @Column(name = "create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @Column(name = "update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否处理 1-已处理|0-未处理")
    @Column(name = "is_dealed")
    private String isDealed;

    public static final String ID = "id";

    public static final String TASK_NAME = "taskName";

    public static final String CREATE_TIME = "createTime";

    public static final String UPDATE_TIME = "updateTime";
}
